<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html class="not-ie" lang="en"> <!--<![endif]-->
<head>
<!-- Basic Meta Tags -->
<meta charset="utf-8">
<title>Elsevier</title>

<!-- Favicon -->
  <link href="img/favicon.png" rel="icon" type="image/png">
  <script src="https://code.jquery.com/jquery-1.11.1.js"></script>

<style>
body{
	font-family:Arial;
}
table.FormTable {
    width: 100%;
    text-align: center;
}
a.Header:link, a.Header:visited {
    color: #FFF;
    text-decoration: none;
}
td {
    font-size: 12px;
    color: #666;
    text-align: left;
}
table.FormTable td {
    padding: 2px;
}
td.ContentTitle {
    vertical-align: middle;
    font-size: 18px;
    color: #0072BC;
}
.Grid_HeaderGreen {
    background-color: #98CA3C;
    color: #FFF;
    font-size: 11px;
    padding: 5px;
    text-align: center;
}
.Grid_Header {
    background-color: #999;
    color: #FFF;
    font-size: 11px;
    padding: 5px;
    text-align: center;
}
.Grid_HeaderPink {
    background-color: #E9967A;
    color: #FFF;
    font-size: 11px;
    padding: 5px;
    text-align: center;
}
.Grid_AltRow {
    background-color: #F0F0F0;
}
.N2{width:40px;}
</style>
 </head>  
<body> 
<table id="TableMain" cellpadding="0" cellspacing="0" width="750px">
            <tbody><tr>
                <td style="height: 165px;" id="AdjustHeaderHeight"></td>                
            </tr>
            <tr>
                <td>
                    <table id="TblAppContent" class="FormTable" align="center" border="0" cellpadding="2" cellspacing="2" width="80%">
                        <tbody><tr>
                            <td height="3px">
                                <table style="display: none;" id="tblLabel" border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <tbody><tr style="background-color: #ffffff;">
                                                        <td>
                                                            <table class="Msg" id="SpecialMessage" style="display:none">
                                                                <tbody><tr><td>
                                                                Please take note that Sort function in this page is NOT supported for Google Chrome or Safari Browser.<br>
                                                                If you want to sort, please <a href="AwardMgmtPanelistScore_ChooseSort.aspx?ID=212&amp;PID=226">click here.</a>
                                                                </td></tr>
                                                            </tbody></table>
                                                        </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td>
                                                            [ <a href="#a" onclick="window.print()">Print this page</a> ]
                                                            </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td height="10px">
                                                        </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td>
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tbody><tr>
                                                                    <td class="ContentTitle" width="99%">
                                                                        ProSPER.Net-Scopus Young Scientist Award 2014
                                                                        -
                                                                        Waste
                                                                        | Panelist Scoring</td>
                                                                    <td style="width: 10px" align="right">
                                                                        <input class="B8" value="Save &amp; Exit" onclick="window.close();" type="button">
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <fieldset style="width: 60%">
                                                                            <legend><b>Scoring Guideline</b></legend>
                                                                            <table id="TableScoringGuideline" border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                <tbody><tr>
                                                                                    <td id="contentScoringGuideline">
                                                                                        
                                                            
                                                            
                                                            Sample of the guideline:-<br>?nbsp;&nbsp;&nbsp;&nbsp;1-3&nbsp;&nbsp;Not competitive <br>?nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;Satisfactory <br>?nbsp;&nbsp;&nbsp;&nbsp;5-7&nbsp;&nbsp;Better than average <br>?nbsp;&nbsp;&nbsp;&nbsp;8-9&nbsp;&nbsp;Excellent <br>?nbsp;&nbsp;&nbsp;&nbsp;10&nbsp;&nbsp;Outstanding 
                                                        
                                                        
                                                        
                                                                                    </td>
                                                                                </tr>
                                                                            </tbody></table>
                                                                        </fieldset>
                                                                    </td>
                                                                </tr>                                                                
                                                            </tbody></table>
                                                        </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td>
                                                            <table style="display: none">
                                                                <tbody><tr>
                                                                    <td style="white-space: nowrap" class="FormLabelField" width="1%">
                                                                        Status :</td>
                                                                    <td width="5%">
                                                                        <select name="ddlScoringStatus" id="ddlScoringStatus" class="N">
                                                                            <option selected="selected" value="New">New</option>
                                                                            <option value="On_Going">On Going</option>
                                                                            <option value="Done">Done</option>
                                                                        </select></td>
                                                                    <td align="left">
                                                                        <input name="btnUpdateStatus" value="Update Status" id="btnUpdateStatus" disabled="disabled" class="B12" type="submit"></td>
                                                                </tr>
                                                            </tbody></table>
                                                        </td>
                                                    </tr>
                                                </tbody></table>                            
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <!--Start: PanelistList-->
                                <div id="pnlList">
	
                                    <input name="sort_expression" id="sort_expression" type="hidden">
                                    <input name="sort_direction" id="sort_direction" type="hidden">
                                    <table style="border: 1px solid #dddddd;" cellpadding="0" cellspacing="0">
                                        <tbody><tr>
                                            <td>
                                                
                                                    <div id="divHeader" style="POSITION:fixed; LEFT:0px; TOP:0px; PADDING:0px 0px 0px 8px; BACKGROUND-COLOR:white;">
                                                        <div id="divLabelTop"><table id="tblLabel" border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <tbody><tr style="background-color: #ffffff;">
                                                        <td>
                                                            <table class="Msg" id="SpecialMessage" style="display:none">
                                                                <tbody><tr><td>
                                                                Please take note that Sort function in this page is NOT supported for Google Chrome or Safari Browser.<br>
                                                                If you want to sort, please <a href="AwardMgmtPanelistScore_ChooseSort.aspx?ID=212&amp;PID=226">click here.</a>
                                                                </td></tr>
                                                            </tbody></table>
                                                        </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td>
                                                            [ <a href="#a" onclick="window.print()">Print this page</a> ]
                                                            </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td height="10px">
                                                        </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td>
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tbody><tr>
                                                                    <td class="ContentTitle" width="99%">
                                                                        ProSPER.Net-Scopus Young Scientist Award 2014
                                                                        -
                                                                        Waste
                                                                        | Panelist Scoring</td>
                                                                    <td style="width: 10px" align="right">
                                                                        <input class="B8" value="Save &amp; Exit" onclick="window.close();" type="button">
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <fieldset style="width: 60%">
                                                                            <legend><b>Scoring Guideline</b></legend>
                                                                            <table id="TableScoringGuideline" border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                <tbody><tr>
                                                                                    <td id="contentScoringGuideline">
                                                                                        
                                                            
                                                            
                                                            Sample of the guideline:-<br>?nbsp;&nbsp;&nbsp;&nbsp;1-3&nbsp;&nbsp;Not competitive <br>?nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;Satisfactory <br>?nbsp;&nbsp;&nbsp;&nbsp;5-7&nbsp;&nbsp;Better than average <br>?nbsp;&nbsp;&nbsp;&nbsp;8-9&nbsp;&nbsp;Excellent <br>?nbsp;&nbsp;&nbsp;&nbsp;10&nbsp;&nbsp;Outstanding 
                                                        
                                                        
                                                        
                                                                                    </td>
                                                                                </tr>
                                                                            </tbody></table>
                                                                        </fieldset>
                                                                    </td>
                                                                </tr>                                                                
                                                            </tbody></table>
                                                        </td>
                                                    </tr>
                                                    <tr style="background-color: #ffffff;">
                                                        <td>
                                                            <table style="display: none">
                                                                <tbody><tr>
                                                                    <td style="white-space: nowrap" class="FormLabelField" width="1%">

                                                                        Status :</td>
                                                                    <td width="5%">
                                                                        <select name="ddlScoringStatus" id="ddlScoringStatus" class="N">
	<option selected="selected" value="New">New</option>
	<option value="On_Going">On Going</option>
	<option value="Done">Done</option>

</select></td>
                                                                    <td align="left">
                                                                        <input name="btnUpdateStatus" value="Update Status" id="btnUpdateStatus" disabled="disabled" class="B12" type="submit"></td>
                                                                </tr>
                                                            </tbody></table>
                                                        </td>
                                                    </tr>
                                                </tbody></table></div>
                                                        <table style="width: 2322px;" id="tblHeader" border="0" cellpadding="4" cellspacing="1">
                                                        </table>                                                         
                                                      </div><table id="tblGrid" border="0" cellpadding="4" cellspacing="1">
                                                             <thead>
                                                                <tr>
                                                                    <td>
                                                                        <div id="divBlank">
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="Grid_HeaderGreen" rowspan="3" height="100px">&nbsp;
                                                                        </td>
                                                                    <td colspan="3" class="Grid_Header" align="center" height="15px">
                                                                        <b>Details of Applicants</b></td>
                                                                    <td colspan="6" class="Grid_HeaderGreen" align="center">
                                                                        <b>Scopus</b></td>
                                                                    <td colspan="18" class="Grid_HeaderGreen"><b>Publications</b></td>
                                                                    <td class="Grid_HeaderGreen" rowspan="2" colspan="2"><b>Social&nbsp;Impact</b></td>
                                                                    
                                                                    
                                                                    
                                                                    <td class="Grid_HeaderPink" rowspan="3">
                                                                        <b>Total Weighted Score</b></td>
                                                                    <td id="Rpt_ctl00_tdResearchImpact" class="Grid_Header" rowspan="3" width="14%">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton21" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton21','')">Research Impact</a></b></td>
	
                                                                    <td id="Rpt_ctl00_tdRecommendations" class="Grid_HeaderGreen" rowspan="3" width="14%">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton22" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton22','')">Panel Comments/<br>Recommendations</a></b></td>
	
                                                                </tr>
                                                                <tr>
                                                                    <td class="Grid_Header">
                                                                        <img src="Images/tran.gif" alt="" height="1"></td>
                                                                    <td class="Grid_Header">&nbsp;
                                                                        </td>
                                                                    <td class="Grid_Header">&nbsp;
                                                                        </td>
                                                                    <td colspan="2" class="Grid_HeaderGreen" align="center">
                                                                        <b>No. of Citations</b></td>
                                                                    <td colspan="2" class="Grid_Header">
                                                                        <b>H-Index</b></td>
                                                                    <td class="Grid_Header">&nbsp;
                                                                        </td>
                                                                    <td class="Grid_HeaderPink">&nbsp;
                                                                        </td>
                                                                    <td colspan="5" class="Grid_HeaderGreen"><b>Journals</b></td>
                                                                    <td colspan="4" class="Grid_Header"><b>Patents</b></td>
                                                                    <td colspan="4" class="Grid_HeaderGreen"><b>Conference Proceedings</b></td>
                                                                    <td colspan="4" class="Grid_Header"><b>Books/Monographs</b></td>
                                                                    <td class="Grid_HeaderPink"><b>Total Publication</b></td>
                                                                    <!-- No need due to rowspan <td Class="Grid_HeaderGreen"></td> -->
                                                                    
                                                                    
                                                                    
                                                                </tr>
                                                                <tr>
                                                                    <td class="Grid_Header">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton23" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton23','')">Name</a></b></td>
                                                                    <td class="Grid_Header">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_lnk" class="Header" href="javascript:__doPostBack('Rpt$ctl00$lnk','')">Dissertation Title</a></b></td>
                                                                    <td class="Grid_Header">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton1" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton1','')">Author IDs</a></b></td>
                                                                    <td class="Grid_HeaderGreen">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton2" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton2','')">Including<br>Self-citations</a></b></td>
                                                                    <td class="Grid_HeaderGreen">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton3" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton3','')">EXCLUDING<br>self-citations</a></b></td>
                                                                    <td class="Grid_Header">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton4" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton4','')">Incl.<br>self-citations</a></b></td>
                                                                    <td class="Grid_Header">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton5" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton5','')">Excl.<br>self-citations</a></b></td>
                                                                    <td class="Grid_Header">
                                                                        <b>
                                                                            <a id="Rpt_ctl00_LinkButton6" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton6','')">Score (0-10)</a></b></td>
                                                                    <td class="Grid_HeaderPink">
                                                                        <b>Weighted Score</b></td>
                                                                    <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton7" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton7','')">Submitted</a></b></td>
                                                                        <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton8" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton8','')">Scopus</a></b></td>
                                                                        <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton9" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton9','')">Av Citation<br>per Paper</a></b></td>
                                                                        <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton10" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton10','')">Score (0-10)</a></b></td>
                                                                        <td class="Grid_HeaderGreen">
                                                                            <b>Weighted Score</b></td>
                                                                    
	
                                                                    <td class="Grid_Header">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton11" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton11','')">Submitted</a></b></td>
                                                                        <td class="Grid_Header">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton12" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton12','')">Scopus</a></b></td>
                                                                        <td class="Grid_Header">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton13" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton13','')">Score (0-10)</a></b></td>
                                                                        <td class="Grid_Header">
                                                                            <b>Weighted Score</b></td>
                                                                    
	
                                                                    <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton14" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton14','')">Submitted</a></b></td>
                                                                        <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton15" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton15','')">Scopus</a></b></td>
                                                                        <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton16" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton16','')">Score (0-10)</a></b></td>
                                                                        <td class="Grid_HeaderGreen">
                                                                            <b>Weighted Score</b></td>
                                                                    
	
                                                                    <td class="Grid_Header">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton17" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton17','')">Submitted</a></b></td>
                                                                        <td class="Grid_Header">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton18" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton18','')">Scopus</a></b></td>
                                                                        <td class="Grid_Header">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton19" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton19','')">Score (0-10)</a></b></td>
                                                                        <td class="Grid_Header">
                                                                            <b>Weighted Score</b></td>
                                                                    
	
                                                                    <td class="Grid_HeaderPink">
                                                                            <b>Weighted Score</b></td>
                                                                    
	
                                                                    <td class="Grid_HeaderGreen">
                                                                            <b>
                                                                                <a id="Rpt_ctl00_LinkButton20" class="Header" href="javascript:__doPostBack('Rpt$ctl00$LinkButton20','')">Score (0-10)</a></b></td>
                                                                        <td class="Grid_HeaderPink">
                                                                            <b>Weighted Score</b></td>
                                                                    
	
                                                                    
                                                                    
                                                                    
                                                                </tr>
                                                            </thead>
                                                            <tbody>
                                                    	<?php $i=0;  foreach($applicant_list as $row ){?>
                                                        <tr>
                                                            <td valign="top">
                                                                <?php echo $i+1; ?> </td>
                                                            <td>
                                                                <a href="#abc" onclick="DivShowHide('div_4341');makeFreezedHeader()"> <?php echo $row[$i]['user_application_field1']; ?>&nbsp;</a>
                                                                <div id="div_4341" style="display: none">
                                                                    <br>
                                                                    <a href="#abc" onclick="openPopUp('http://yrae.elsevier.com/ApplicationFormView.aspx?appid=26229',800,600);">View Applicant Detail</a><br><br><br>
                                                                    <a href="#abc" onclick="openPopUp('/AwardMgmtPanelistScore.aspx/../Files/1405162038175937424^^PhD%20Graduation%20Evidence_Dr%20Ailie%20Tang.pdf',800,600)">PhD Graduation Evidence</a><br><br>
                                                                    
                                                                    
                                                                    <a href="#abc" onclick="openPopUp('/AwardMgmtPanelistScore.aspx/../Files/1405191551115623208^^ProSPER.Net-Scopus2014_List%20of%20Publications_Dr%20Ailie%20K.Y.Tang.xls',800,600)">Other Supporting Documents</a><br><br>
                                                                    <a href="#abc" onclick="openPopUp('/AwardMgmtPanelistScore.aspx/../Files/1405191443196096461^^Curriculum%20vitae-%20Dr%20Ailie%20KY%20Tang.pdf',800,600)">List of Publications</a><br><br>
                                                                    
                                                                    
                                                                    
                                                                </div>
                                                            </td>
                                                            <td>
                                                                Green Retailing: Construct measurement and its antecedent-adoption-performance relationships
                                                            </td>
                                                            <td>
                                                                
                                                            </td>
                                                            <td>
                                                                <?php echo $admin_score[$i]['admin_review_scopus_citation_including_self']; ?></td>
                                                            <td>
                                                                <?php echo $admin_score[$i]['admin_review_scopus_citation_excluding_self']; ?></td>
                                                            <td>
                                                                <?php echo $admin_score[$i]['admin_review_scopus_hindex_include_self']; ?></td>
                                                            <td>
                                                               <?php echo $admin_score[$i]['admin_review_scopus_hindex_exclude_self']; ?></td>
                                                            <td>
                                                                <input id="<?php echo "Text1_".$row[$i]['user_application_applicant_id']; ?>" name="scopus" value="<?php if(isset($result[$i]['panelist_review_scopus_score'])) {echo $result[$i]['panelist_review_scopus_score']; } ?>" class="N2"  maxlength="2" type="text" onBlur="msgshow(this.value, 0.35, 'scopus',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,1)"></td>
                                                                <input id="<?php echo "hiddentext1_".$row[$i]['user_application_applicant_id']; ?>" value="0.35" hidden >
                                                            <td><span id="<?php echo "Text1_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_scopus_weighted_score'])){ echo $result[$i]['panelist_review_scopus_weighted_score']; }  ?></span></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_journals_submitted']; ?></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_journals_scopus']; ?></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_journals_avcitationperpaper']; ?></td>
                                                            <td><input id="<?php echo "Text2_".$row[$i]['user_application_applicant_id']; ?>" value="<?php if(isset($result[$i]['panelist_review_journals_score'])) { echo $result[$i]['panelist_review_journals_score'] ; }?>" class="N2" onBlur="msgshow(this.value, 0.35, 'journals_score',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,2)" maxlength="2" type="text"></td>
                                                            <td><span id="<?php echo "Text2_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_journals_weighted_score'])){ echo $result[$i]['panelist_review_journals_weighted_score'];}?></span></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_patents_submitted']; ?></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_patents_scopus']; ?></td>
                                                            <td><input id="<?php echo "Text3_".$row[$i]['user_application_applicant_id']; ?>" onBlur="msgshow(this.value, 0.35, 'patent_score',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,3)" value="<?php if(isset($result[$i]['panelist_review_patent_score'])) { echo $result[$i]['panelist_review_patent_score'];} ?>" class="N2" maxlength="2" type="text"></td>
                                                            <td><span id="<?php echo "Text3_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_patent_weighted_score'])){ echo $result[$i]['panelist_review_patent_weighted_score']; }?></span></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_cp_submitted']; ?></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_cp_scopus']; ?></td>
                                                            <td><input id="<?php echo "Text4_".$row[$i]['user_application_applicant_id']; ?>" onBlur="msgshow(this.value, 0.35,'cp_score',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,4)" value="<?php if(isset($result[$i]['panelist_review_cp_score'])) { echo $result[$i]['panelist_review_cp_score'];} ?>" class="N2" maxlength="2" type="text"></td>
                                                            <td><span id="<?php echo "Text4_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_cp_weighted_score'])){ echo $result[$i]['panelist_review_cp_weighted_score']; }?></span></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_books_submitted']; ?></td>
                                                            <td><?php echo $admin_score[$i]['admin_review_book_scopus']; ?></td>
                                                            <td><input id="<?php echo "Text5_".$row[$i]['user_application_applicant_id']; ?>" onBlur="msgshow(this.value, 0.35,'books_score',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,5)" value="<?php if(isset($result[$i]['panelist_review_books_score'])) { echo $result[$i]['panelist_review_books_score']; }?>" class="N2" maxlength="2" type="text"></td>
                                                            <td><span id="<?php echo "Text5_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_books_weighted_score'])){ echo $result[$i]['panelist_review_books_weighted_score']; }?></span></td>
                                                            <td><span id="<?php echo "TextPub_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_publication_weighted_score'])){ echo $result[$i]['panelist_review_publication_weighted_score']; } ?></span></td>
                                                            <td><input id="<?php echo "Text6_".$row[$i]['user_application_applicant_id']; ?>" onBlur="msgshow(this.value, 0.35,'social_score',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,6)" value="<?php if(isset($result[$i]['panelist_review_social_score'])){echo $result[$i]['panelist_review_social_score'];}?>" class="N2"  maxlength="@" type="text"></td>
                                                            <td><span id="<?php echo "Text6_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_social_weighted_score'])){ echo $result[$i]['panelist_review_social_weighted_score']; } ?></span></td>
                                                           
                                                            <td><span id="<?php echo "TextTotal_WS_".$row[$i]['user_application_applicant_id']; ?>"><?php if(isset($result[$i]['panelist_review_total_weighted_score'])){ echo $result[$i]['panelist_review_total_weighted_score']; } ?></span></td>
                                                            <td>
                                                                <textarea id="<?php echo "Text7_".$row[$i]['user_application_applicant_id']; ?>" onBlur="msgshow(this.value, 0.35,'research_impact',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,7)" class="N" rows="1" cols="39"><?php if(isset($result[$i]['panelist_review_research_impact'])) {echo $result[$i]['panelist_review_research_impact']; }?></textarea></td>
                                                            <td>
                                                          <textarea id="<?php echo "Text8_".$row[$i]['user_application_applicant_id']; ?>" onBlur="msgshow(this.value, 0.35,'comment',<?php echo $row[$i]['user_application_applicant_id']; ?>,<?php echo $row[$i]['user_application_applicant_id']; ?>,8)" type="text" class="N" rows="1" cols="39"><?php if(isset($result[$i]['panelist_review_comment'])) {echo $result[$i]['panelist_review_comment'];} ?></textarea></td>
                                                        </tr>
                                        <tr><?php $i++;} ?>
                                            <td colspan="2">
                                                <a id="lnkExport" href="<?php echo BASE_URL.'/manage_scoring/panelist_score_excel'; ?>">Export to Excel</a>&nbsp;<img src="<?php echo ASSET_URL.'/img/icon_excel.gif';?>" border="0">
                                                <input value="Save &amp; Exit" class="B8" onclick="window.close();" type="button">
                                                </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <br>
                                                <br>
                                            </td>
                                        </tr>
                                    </tbody></table>
                                
</div>
                                <!--End: PanelistList-->
                            </td>
                        </tr>
                        <tr>
                            <td height="3px">
                            </td>
                        </tr>
                    </tbody></table>
                </td>
            </tr>
        </tbody></table>
		<script type="text/javascript">

var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
var is_firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
var is_safari = navigator.userAgent.toLowerCase().indexOf('safari') > -1;
var is_ie = navigator.userAgent.toLowerCase().indexOf('msie') > -1;


            $(window).scroll(function ()
            {            
                var divHeader = document.getElementById("divHeader");
                divHeader.style.left = "-" + $(window).scrollLeft() + "px";                
                
            });
            
            function makeFreezedHeader()
            {
                var tblGrid = document.getElementById("tblGrid");
                var tblHeader = document.getElementById("tblHeader");

                tblHeader.style.width = $(tblGrid).width() + "px";
                for (var r = 0; r < tblHeader.rows.length; r++)
                {
                    for (var c = 0; c < tblHeader.rows[r].cells.length; c++)
                    {
                        tblHeader.rows[r].cells[c].style.width = $(tblGrid.rows[r].cells[c]).width() + "px";
                    }
                }
            }

    

      cloneLabel = document.getElementById("tblLabel").cloneNode(true);     
       document.getElementById("divLabelTop").appendChild(cloneLabel);
       
       document.getElementById("tblLabel").style.display = "none";
            
       var tblGrid = document.getElementById("tblGrid");
        for(i=0;i<tblGrid.childNodes.length;i++){
            if(tblGrid.childNodes[i].nodeName == "THEAD" ){
               clonenode = tblGrid.childNodes[i].cloneNode(true);
            }
        }
        
        document.getElementById("tblHeader").appendChild(clonenode);        
        makeFreezedHeader();
//alert(navigator.userAgent.toLowerCase());

function GetElementTop(eSrc)
{
	var iTop = 0;
	var eParent;
	eParent = eSrc;
	while (eParent.tagName.toUpperCase() != "BODY")
	{
		iTop += eParent.offsetTop;
		eParent = eParent.offsetParent;
	}
	return iTop;
}
function GetElementLeft(eSrc)
{
	var iLeft = 0;
	var eParent;
	eParent = eSrc;
	while (eParent.tagName.toUpperCase() != "BODY")
	{
		iLeft += eParent.offsetLeft;
		eParent = eParent.offsetParent;
	}
	return iLeft;
}

        </script>
        <script>
		function msgshow(obj1,obj2,obj3,objapplicant,objws,objwsID){
				var score_pattern=/^[0-9]+$/;
			
				/* if(obj1 == '' ){
					alert('Please enter score between 1 to 10');
					exit();
				 }
				 else if(!score_pattern.test(obj1)){
					alert('Please enter score between 1 to 10');
					exit();
				 }
				 else if(obj1 > 10) {
					alert('Please enter score between 1 to 10');
					exit();
				 }*/
				 var objevent = <?php echo $admin_score[0]['admin_review_event_id'] ?>;
				 var objaward = <?php echo $admin_score[0]['admin_review_award_id'] ?>;
					var num = parseFloat(obj1 * obj2);
					var ws_score = Math.round(num*Math.pow(10,2))/Math.pow(10,2);
					$.ajax({
						type:"POST",
						url:'<?php echo BASE_URL."/manage_scoring/panelist_score"?>',
						data:{'score':obj1, 'ws_score':ws_score,'type':obj3,'event':objevent,'award':objaward,'applicant':objapplicant},
						cache: false,
						success:function(html){
							$('#Text'+objwsID+'_WS_'+objws).html(ws_score);
							
						},
						 error:function(html){
							 alert('fail');
						 }
					});
		}
	
			
		</script>
</body>
</html>